import React, { FC } from "react"
import { Outlet } from "react-router-dom"
import { Layout } from "antd"
import { styles } from "./MainLayout.module.scss"

const { Header, Content, Footer } = Layout
const MainLayout: FC = () => {
  return (
    <Layout>
      <Header className="styles.header">
        <div className=""></div>
      </Header>
      <Content>
        <Outlet></Outlet>
      </Content>
      <Footer>MainLayout footer</Footer>
    </Layout>
  )
}
export default MainLayout
